package com.tfxy.hxl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 课程推荐服务启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.tfxy.hxl.mapper")
public class CourseApplication {

    public static void main(String[] args) {
        SpringApplication.run(CourseApplication.class, args);
        System.out.println("=================================");
        System.out.println("课程推荐服务启动成功！");
        System.out.println("服务端口：8095");
        System.out.println("Swagger文档：http://localhost:8095/swagger-ui.html");
        System.out.println("API文档：http://localhost:8095/v3/api-docs");
        System.out.println("=================================");
    }
}
